package cn.iocoder.yudao.module.shop.convert.accountrecord;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.shop.controller.admin.accountrecord.vo.*;
import cn.iocoder.yudao.module.shop.dal.dataobject.accountrecord.ShopAccountRecordDO;

/**
 * 收支记录 Convert
 *
 * @author 曹建伟
 */
@Mapper
public interface ShopAccountRecordConvert {

    ShopAccountRecordConvert INSTANCE = Mappers.getMapper(ShopAccountRecordConvert.class);

    ShopAccountRecordDO convert(ShopAccountRecordCreateReqVO bean);

    ShopAccountRecordDO convert(ShopAccountRecordUpdateReqVO bean);

    ShopAccountRecordRespVO convert(ShopAccountRecordDO bean);

    List<ShopAccountRecordRespVO> convertList(List<ShopAccountRecordDO> list);

    PageResult<ShopAccountRecordRespVO> convertPage(PageResult<ShopAccountRecordDO> page);

    List<ShopAccountRecordExcelVO> convertList02(List<ShopAccountRecordDO> list);

}
